<?php

namespace App\Admin\Repositories;

use App\Models\Order as Model;
use Dcat\Admin\Repositories\EloquentRepository;

class Order extends EloquentRepository
{
    /**
     * Model.
     *
     * @var string
     */
    protected $eloquentClass = Model::class;

    public function orderStatus()
    {
        return [
            1 => '待支付',
            2 => '已支付',
            3 => '退款中',
            4 => '已退款',
            5 => '退款失败',
        ];
    }
}
